home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010306-20010921
/
000110_hutchens@cs.millersville.edu_Thu May 10 12:59:45 EDT 2001.msg
< prev
next >
Wrap
Text File
|
2001-09-20
|
5KB
|
119 lines
Article: 12401 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!news-out.cwix.com!newsfeed.cwix.com!feed2.news.rcn.net!rcn!netnews.com!news.voicenet.com!jake.esu.edu!mills.millersville.edu!hutchens
From: hutchens@cs.millersville.edu (David H. Hutchens)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Need help with Mac OS X 10.0.2
Date: Wed, 9 May 2001 15:07:34 GMT
Organization: CS Dept, Millersville University
Lines: 104
Message-ID: <9dbmos$kke$1@jake.esu.edu>
References: <9d9395$rt3@watsun.cc.columbia.edu>
Reply-To: hutchens@cs.millersville.edu (David H. Hutchens)
NNTP-Posting-Host: mills.millersville.edu
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12401
I've done further investigation.
The original "SET FLOW NONE" was in effect in the settings I was using
on the public beta. So I assume that RTS/CTS was issuing the warning
in the public beta too.
I recompiled kermit and tried that version... No difference at all.
I am able to do connections, uploading, and downloading as long as I
set the buffer size to 512. So I have a "usable" system.
I get the warning when I dial. And I get about 7 or 8 system beeps
when I type the first character of my user name to the remote system
login prompt.
As to the bug. I can't let you connect to my system. The reason I'm
using kermit is that I don't otherwise have an internet connection
from home.
However, I'm a decent programmer.... I have been programming in C
since 1980. I have a Ph.D. in CS. I checked the kermit source and
found that the file ckutio.c seems to be key. It includes sys/ioctl.h
which includes sys/ttycom.h which contains the definitions of the CTS
stuff, in particular: TIOCM_CTS. I verified that my build (macosx10c)
does, in fact, include the ioctl.h file by typing garbage next to the
include line and seeing that the compiler choked. All this seems
normal. I can send you the .h files if you wish. They seem to be
standard BSD4.4. I can also send the man pages. Again they are
basically BSD4.4. The main line of interest is:
ttycom.h:#define TIOCM_CTS 0040 /* clear
to send */
My best guess is that the current device driver does not respond, as
kermit expects, with CTS asserted before dialing. I don't know what
it might do after dialing, but it appears from kermit's response that
kermit isn't using it (otherwise bigger buffers ought to work).
I got the Apple Internal Modem AT command documentation from Apple's
web site. I checked using modem AT commands that the modem is set to
use RTS/CTS and that it is actually making the connection at about
28800 (next one down actually 26400?, the time I checked) with error
correction and compression enabled. That is what I'd expect since the
modem I was calling is a 28K V.34 modem.
So some possibilities:
1) The device driver and/or modem waits for a connection before
passing CTS through and I need to get kermit to ignore the setting
when dialing and use it later. I'm not sure where exactly to try to
make that change. Or for that matter, if kermit is already trying that
as the warning suggests.
2) The device driver and/or modem never asserts CTS so there is a bug
without any easy workaround and I'll just have to file a bug report
with Apple and wait. Not the worst of problems since I have a limping
version that I can use.
Your advice?
- David Hutchens
Dept. of Computer Science
Millersville University
717-872-3838
hutchens@cs.millersville.edu
In article <9d9395$rt3@watsun.cc.columbia.edu> fdc@watsun.cc.columbia.edu
(Frank da Cruz) writes:
> In article <9d90vh$ot8$1@jake.esu.edu>,
> David H. Hutchens <hutchens@cs.millersville.edu> wrote:
> :
> : I have not tried recompiling. I'll can give it a shot.
> :
> Yes, please do.
>
> :
> : Tuning on RTS/CTS resulted in a message that says:
> : Warning -SET FLOW RTS/CTS is in effect but modems CTS signal is
off.
> : Disabling flow control temporarily during dialing.
> :
> Did RTS/CTS work in the public Beta?
> :
> : Is it OK to ignore the above warning? Does it still enable RTS/CTS
> : after the connection? How can I tell?
> :
> The message is worrisome. It probably means that the API for hardware
> flow control and/or modem-signal testing changed or broke. Of course I
> have no way of knowing that, nor of knowing what they changed to.
>
>
> So how do we get the real problem fixed? First try recompiling and see
> if that clears things up. If not, it would be best if I could get
> telnet/ftp access to your Mac, or another one that has the same OS
> level so I can poke around the header files, man pages, etc, and see
> if I can get at the modem signals. (Of course even then I can't
actually
> see/hear what's happening, but it's better than nothing.) Failing that,
> somebody who has Mac OS X 10.2 and a modem will have to make the code
> work (I can point out the relevant modules and functions).
>
> - Frank